﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TGVManagement.Models
{
  /// <summary>
  /// Interface category
  /// </summary>
  public interface ICatResposility
  {
    /// <summary>
    /// GetCategoryList
    /// </summary>
    /// <returns></returns>
    IList<CATEGORY> GetCategoryList();
    /// <summary>
    /// GetCategoryDetail
    /// </summary>
    /// <param name="cat_Cd"></param>
    /// <returns></returns>
    CATEGORY GetCategoryDetail(int cat_Cd);
    /// <summary>
    /// Add_UpdCategory
    /// </summary>
    /// <param name="cat"></param>
    /// <param name="option"></param>
    /// <returns></returns>
    bool Add_UpdCategory(CATEGORY cat, int option);
    /// <summary>
    /// DelCategory
    /// </summary>
    /// <param name="cat_Cd"></param>
    /// <returns></returns>
    bool DelCategory(int cat_Cd);

  }
}